home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1996 March / EnigmA AMIGA RUN 05 (1996)(G.R. Edizioni)(IT)[!][issue 1996-03][Skylink CD IV].iso / earcd / editor / chktex.lha / chktex / .chktexrc < prev    next >
Text File  |  1996-01-25  |  6KB  |  211 lines

  1. ##
  2. ##  ChkTeX v1.2,  example resource file for ChkTeX.
  3. ##  Copyright (C) 1995 Jens T. Berger Thielemann
  4. ##
  5. ##  This program is free software; you can redistribute it and/or modify
  6. ##  it under the terms of the GNU General Public License as published by
  7. ##  the Free Software Foundation; either version 2 of the License, or
  8. ##  (at your option) any later version.
  9. ##
  10. ##  This program is distributed in the hope that it will be useful,
  11. ##  but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. ##  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13. ##  GNU General Public License for more details.
  14. ##
  15. ##  You should have received a copy of the GNU General Public License
  16. ##  along with this program; if not, write to the Free Software
  17. ##  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  18. ##
  19. ##  Contact the author at:
  20. ##      Jens Berger
  21. ##      Spektrumvn. 4
  22. ##      N-0666 Oslo
  23. ##      Norway
  24. ##      E-mail: <jensthi@ifi.uio.no>
  25. ##
  26.  
  27. # Comments begin with '#', and continues for the rest of the line.
  28. # Blank lines plus leading and trailing spaces are of course ignored.
  29. #
  30. # The file is parsed in the following fashion:
  31. #   Items are separated by spaces. You may surround them with quotes
  32. #   (`"') to easily put spaces into them.
  33. #
  34. #   Escape sequences available:
  35. #
  36. #   Sequence        Resulting character
  37. #   !               A space (type `! ', not just a exclamation mark)
  38. #   !"              "
  39. #   !#              #
  40. #   !!              !
  41. #   !{              {
  42. #   !}              }
  43. #   !b              Backspace
  44. #   !n              New line
  45. #   !r              Carriage return
  46. #   !t              Tab
  47. #   !f              Form feed
  48. #   !xNN            NN must be a hexadecimal number (00 - ff),
  49. #                   _both_ characters must be included.
  50. #   !dNNN           DDD must be a decimal number (000 - 255), all
  51. #                   three characters must be included. Unspecified
  52. #                   results if DDD > 255.
  53. #   !NNN            DDD must be a octal number (000 - 377), all
  54. #                   three characters must be included. Unspecified
  55. #                   results if DDD > 377.
  56. #
  57. # Minor note: As you can see, most of these escape sequences
  58. # are  equal to those in C (with some extensions); however, we use !
  59. # instead of \ as escape character for obvious reasons.
  60. #
  61.  
  62.  
  63. #####################################################################
  64. # This keyword indicates that the keywords following in braces (`{}')
  65. # should be ignored when detecting whether a command is ended by a
  66. # space.
  67.  
  68. SILENT
  69.  
  70. # The list of commands which are affected by this command, are
  71. # grouped by putting a single { in front of them, and
  72. # terminating them with a single }. The brackets nest, but don't
  73. # use that for now.
  74.  
  75. {
  76.     \rm \em \bf \it \sl \sf \sc \tt \selectfont
  77.  
  78.     \columnsep \space \item \tiny \footnotesize \small
  79.     \normal \large \Large \LARGE \huge \Huge \printindex
  80.  
  81.     \newpage \listoffigures \listoftables \tableofcontents
  82.     \maketitle \makeindex
  83.  
  84.     \hline \hrule \vrule
  85.  
  86.     \centering
  87.  
  88.     \bigskip \medskip \smallskip
  89.  
  90.     \noindent \expandafter
  91.  
  92.     \makeatletter \makeatother
  93.  
  94.     \columnseprule
  95.  
  96.     \textwidth \textheight \hsize \vsize
  97.  
  98.     \if \fi
  99.  
  100.     \csname \endcsname
  101.  
  102.     \z@ \p@ \@warning \typeout
  103.  
  104.     \dots \endinput \nextline
  105. }
  106.  
  107. #####################################################################
  108. # Here, you can put default commandline options; most users would
  109. # for instance like to put -v2 here.
  110. #
  111.  
  112. CMDLINE
  113. {
  114.  
  115.  
  116. }
  117.  
  118.  
  119. #####################################################################
  120. # The commands listed here, should be prepended with a `~', as in
  121. # "look in table~\ref{foo}", to avoid the references being splitted
  122. # across lines.
  123.  
  124. LINKER
  125. {
  126.     \ref \pageref
  127.  
  128. # These are just some commands I've invented for myself...:) Not standard.
  129.     \smref \smpageref
  130.  
  131. }
  132.  
  133. #####################################################################
  134. # Here you should list all those abbrevs which needs to be followed
  135. # by `\ ', like in "The cat is a animal, i.e.\ a living creature".
  136. # They are (currently) case-insensitive.
  137.  
  138.  
  139. ABBREV
  140. {
  141. # Does anyone have an table of these? It would be appreciated indeed
  142. # if you sent it over! See the main doc.
  143.     etc. a.m. p.m. i.e. misc. e.g. "e. g."
  144.  
  145. # Some Norwegian...:)
  146.  
  147.     dvs. evt. eksl. el.l. etc. f.eks. fom. hhv. inkl. iom. jfr.
  148.     jf. mht. mhp. mva. m.o.h. o.l. osv. pga. tom. vha.
  149. }
  150.  
  151. #####################################################################
  152. # Commands which accent characters, meaning that \i or \j
  153. # (\imath / \jmath) should be used instead of `i' and `j'
  154.  
  155. IJACCENT
  156. {
  157.     \hat \check \breve \acute \grave \tilde \bar \vec \dot \ddot
  158.  
  159.     \' \` \^ \" \~ \= \. \u \v \H \t
  160. #
  161. # Ahh...these commands put their accent _under_ the character, not above,
  162. # and should thus be used with normal i's and j's.
  163. # \c
  164. # \d
  165. # \b
  166.  
  167. }
  168.  
  169. #####################################################################
  170. # Commands which, when the group is terminated, needs italic
  171. # correction.
  172.  
  173. ITALIC
  174. {
  175.     \it \em \sl
  176. }
  177.  
  178. #####################################################################
  179. # These patterns will be searched for through the text; no matter
  180. # whether they appear as normal text, commands or whatever.
  181. # Currently case-sensitive.
  182.  
  183. USERWARN
  184. {
  185. # I usually define a special command like this:
  186. # \def\unknown{\large\bf??}
  187. # which I use whenever there is some information I don't have at the
  188. # moment of writing. Thus, it makes sense to search for it.
  189.  
  190.     \unknown
  191.  
  192. # Another example; one should write \chktex or Chk\TeX - never ChkTeX.
  193.  
  194.     ChkTeX
  195. }
  196.  
  197. #####################################################################
  198. # These commands all have in common that a pagebreak right in front
  199. # of them is highly undesirable; thus there should be no space in front
  200. # of them.
  201.  
  202. POSTLINK
  203. {
  204.     \index \label
  205. }
  206.  
  207. #
  208. # All for now - have fun.
  209. #
  210.  
  211.